package com.example.vehiclemanagesystem.service;

import com.example.vehiclemanagesystem.entity.Driver;
import com.example.vehiclemanagesystem.entity.User;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface DriverService {
    public Driver selectDriverByDriverID(Integer d_id);
    public void addNewDriver(Driver driver);
    public void updateDriver(Driver driver);
    public void deleteDriver(Driver driver);
    public List<Driver> allDriver();
    List<Driver> findByPageF(int pageNum,int pageSize);
    //PageInfo<Driver> findByPageS(int pageNum, int pageSize);
}
